package com.cnswhy.cloud.server.core.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.cnswhy.cloud.common.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author cnswhy
 * @since 2021-02-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "CustomerDeviceInfoSaveDTO", description = "")
public class CustomerDeviceInfoSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long customerId;
    /**
     * 登录IP
     */
    @ApiModelProperty(value = "登录IP")
    @Length(max = 255, message = "登录IP长度不能超过255")
    private String loginIp;
    /**
     * 省份
     */
    @ApiModelProperty(value = "省份")
    @Length(max = 255, message = "省份长度不能超过255")
    private String prov;
    /**
     * 市区
     */
    @ApiModelProperty(value = "市区")
    @Length(max = 255, message = "市区长度不能超过255")
    private String city;
    /**
     * 区
     */
    @ApiModelProperty(value = "区")
    @Length(max = 255, message = "区长度不能超过255")
    private String area;
    /**
     * 国家
     */
    @ApiModelProperty(value = "国家")
    @Length(max = 255, message = "国家长度不能超过255")
    private String country;
    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    @Length(max = 255, message = "纬度长度不能超过255")
    private String lat;
    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    @Length(max = 255, message = "经度长度不能超过255")
    private String lng;

}
